<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="boletinesAcademicos form">
<?php echo $this->Form->create('BoletinesAcademico');?>
	<fieldset>
 		<legend><?php __('Agregar Boletines Academicos'); ?></legend>	
 		<?php 			
 			$disable=($group_id == '6')?true:false; 					
 		?>
	<table  id="myTable" cellpadding="0" cellspacing="0">
	 		<tr>										
				<th class="actions"><?php __('NOMBRE INSTITUCION MADRE');?></th>
				<th class="actions"><?php __('No. DE SESIONES DE CIRCULOS ABIERTO PROGRAMADAS');?></th>
				<th class="actions"><?php __('No. DE SESIONES REALIZADAS');?></th>
				<th class="actions"><?php __('No. DE FAMILIAS PARTICIPANTES');?></th>
				<th class="actions"><?php __('DESCRIPCION DEL PROCESO DESARROLLADO');?></th>						
			</tr>			
			<tr>					
			<?php									
					foreach($iems as $iem){							
						if($iem != NULL){ ?>								
						<td><?php echo $this->Form->label($iem);?></td>
						<?php echo $this->Form->input(null, array('type'=>'hidden', 'name'=>'data[nombre_iem]['.$iem.']',
															  'id'=>'data[nombre_iem]['.$iem.']','value'=>$iem));?>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[sesion_programada]['.$iem.']', 
														'name'=>'data[sesion_programada]['.$iem.']', 'class' => 'text_asistencia', 
														'type'=>'text','disabled'=>$disable))?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[sesion_realizada]['.$iem.']', 
														'name'=>'data[sesion_realizada]['.$iem.']', 'class' => 'text_asistencia', 
														'type'=>'text','disabled'=>$disable))?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[familias_participante]['.$iem.']', 
														'name'=>'data[familias_participante]['.$iem.']', 'class' => 'text_asistencia', 
														'type'=>'text','disabled'=>$disable))?></td>
						<td><?php echo $this->Form->textarea(null, array('label'=>'', 'id'=>'data[descripcion]['.$iem.']', 
														'name'=>'data[descripcion]['.$iem.']', 'class' => 'text_kit', 
														'type'=>'text','disabled'=>$disable))?></td>	
						<?php  } ?>										
			</tr>
			<?php } ?>
		</table>
	</fieldset>
<?php 
echo $this->Form->input('zona_id', array('type'=>'hidden', 'value'=>$zona));
echo $this->Form->input('bimestre', array('type'=>'hidden', 'value'=>$year.'-'.$bimestre));
echo $this->Form->input('zona', array('type'=>'hidden', 'value'=>$zona));
echo $this->Form->input('num', array('type'=>'hidden', 'value'=>$bimestre));
echo $this->Form->input('year', array('type'=>'hidden', 'value'=>$year));
?>
<?php echo $this->Form->end(__('Guardar', true));?>
</div>